<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<from action="upload" method="post" enctype="multipart/form-data">
    <div class="mb-3">
        <label for="fromFileMultiple" class="from-label">多个文件上传</label>
        <input class="form-control" type="file" id="fromFileMultiple" multiple name="files">
        <button type="submit" class="btn btn-primary">提交</button>
        <p th:text="${msg}"></p>
    </div>
</from>
</body>
</html>